# 解锁-xy参数
xy_data = [
    {
        "num": "1",  # 用例编号
        "title": "验证拖动成功",  # 用例标题
        "params": {  # 请求参数
            "xoffset": 400,
            "yoffset": 40
        },
        "result": {"expect_result": "验证成功"}  # 预期结果
    },
    {
        "num": "2",
        "title": "验证拖动一半",
        "params": {
            "xoffset": 100,
            "yoffset": 40
        },
        "result": {"expect_result": "向右滑动解锁"}
    },
    {
        "num": "3",
        "title": "验证不拖动",
        "params": {
            "xoffset": 0,
            "yoffset": 0
        },
        "result": {"expect_result": "向右滑动解锁"}
    }
]
# 登录参数
login_data = [
    {
        "num": "1",
        "title": "验证成功登录",
        "params": {
            "username": 'admin',
            "password": "a123456789"
        },
        "result": {"expect_result": "Gavin", "sql_expect": "Gavin"}
    },
    {
        "num": "2",
        "title": "验证用户名长度限制",
        "params": {
            "username": 'admi',
            "password": "a123456789"
        },
        "result": {"expect_result": "用户名的长度至少为5!", "sql_expect": ""}
    },
    {
        "num": "3",
        "title": "验证密码长度限制",
        "params": {
            "username": 'admin',
            "password": "a1234567"
        },
        "result": {"expect_result": "密码的长度至少为8!", "sql_expect": ""}
    }
]
